import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Home1 from '../views/Home1.vue'
import Home2 from '../views/Home2.vue'
import Home3 from '../views/Home3.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    component: Home
  },
  {
    path: '/home1',
    component: Home1
  },
  {
    path: '/home2',
    component: Home2
  },
  {
    path: '/home3',
    component: Home3
  },

]

const router = new VueRouter({
  routes
})

export default router
